﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace WsdlAddress
{
    /// <summary>
    /// Interface for services which return an array of WSDL URLs contained at
    /// a particular URL.
    /// </summary>
    [ServiceContract]
    public interface IWsdlAddressService
    {
        /// <summary>
        /// Returns a list of WSDL URLs at the given URL.
        /// </summary>
        /// <param name="url">the URL to fetch</param>
        /// <returns>Any WSDL URLs found in the response text</returns>
        [OperationContract]
        string[] GetWsdlAddress(String url);
    }
}
